package klasy.powtorka;

import java.util.Arrays;

public class MagicNumbers {

	public static void main(String[] args) {

		int[][] magicSquare = {
				{16, 3, 2, 13},
				{5, 10, 11, 8},
				{9, 6, 7, 12},
				{4, 15, 14, 1}
		};
		
		System.out.println(Arrays.toString(magicSquare));
		System.out.println(Arrays.deepToString(magicSquare));
		for(int[] row : magicSquare){
			for(int val : row)
				System.out.print(val + " ");
			System.out.println();
		}
		
		for(int[] e : magicSquare)
			System.out.println(Arrays.toString(e));
		
		}

}
